package com.endoc.new_modules_javapoet;

import androidx.appcompat.app.AppCompatActivity;

import android.os.Bundle;
import android.util.Log;

import com.endoc.arouter_annotations.ARouter;

@ARouter(path = "MainActivity")
public class MainActivity extends AppCompatActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);


    }
    public void startMainActivity() {
        //得到指定的Activity的.class文件,从而实现调整,注解生成器生成的类,通过方法可生成对应的.java文件
        Class startClass = MainActivity$$$$$$$$$ARouter.findTargetClass("/app/MainActivity");
    }
}
